﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BusinessEntityObjects
{

    public class ContactSearchResult
    {

        #region " Declarations "

        private int _intId;
        private string _strFirstName = string.Empty;
        private string _strLastName = string.Empty;

        #endregion

        #region " Properties "

        public string FirstName
        {
            get { return _strFirstName; }
            set { _strFirstName = value; }
        }

        public string FullName
        {
            get { return string.Concat(_strFirstName, " ", _strLastName); }
        }

        public int Id
        {
            get { return _intId; }
            set { _intId = value; }
        }

        public string LastName
        {
            get { return _strLastName; }
            set { _strLastName = value; }
        }

        #endregion

        #region " Constructor "

        public ContactSearchResult()
        {
        }

        public ContactSearchResult(int intId, string strFirstName, string strLastName)
        {
            _intId = intId;
            _strFirstName = strFirstName;
            _strLastName = strLastName;
        }
    }

        #endregion 
}
